package com.zzxy.mybatis34.entiy;

public class Orderdetail {
    private int id;
    private int orderid;
    private String itemId;
    private String itemNum;

    private Item item;

    @Override
    public String toString() {
        return "Orderdetail{" +
                "id=" + id +
                ", orderid=" + orderid +
                ", itemId='" + itemId + '\'' +
                ", itemNum='" + itemNum + '\'' +
                ", item=" + item +
                '}';
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemNum() {
        return itemNum;
    }

    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public int getId() {
        return id;
    }
}
